<template>
  <div>
    <div class="title">个人工作区</div>
    <div>
      <div class="list">
        <div class="listone" @click="tap('/daka')">
          <img src="../../assets/images/daka.png" alt="" />
          <span>打卡</span>
        </div>
        <div class="listone" @click="tap('/ribao')">
          <img src="../../assets/images/ic_Attendancemanagement.png" alt="" />
          <span>日报表</span>
        </div>
        <div class="listone" @click="tap('/beiwang')">
          <img src="../../assets/images/ic_register.png" alt="" />
          <span>备忘录</span>
        </div>
        <div class="listone" @click="tap('/huifang')">
          <img src="../../assets/images/ic_visitor.png" alt="" />
          <span>今日回访</span>
        </div>
        <div class="listone" @click="tap('/jipan')">
          <img src="../../assets/images/ic_kehu.png" alt="" />
          <span>基盘客户</span>
        </div>
        <div class="listone" @click="tap('/gerenindex')">
          <img src="../../assets/images/ic_Statisticsz.png" alt="" />
          <span>个人成交数据</span>
        </div>
        <div class="listone" @click="tap1('/renwugonggao', 1)">
          <img src="../../assets/images/icrenwugonggao.png" alt="" />
          <span>任务公告栏</span>
        </div>
        <div class="listone" @click="tap('/tonghua')">
          <img src="../../assets/images/ic_tonghua.png" alt="" />
          <span>最近通话</span>
        </div>
        <div class="listone" @click="tap('/tongxunlu')">
          <img src="../../assets/images/ic_tongxunlu.png" alt="" />
          <span>通讯录</span>
        </div>
        <div class="listone" @click="tap1('/renwugonggao', 2)">
          <img src="../../assets/images/ic_caiwu.png" alt="" />
          <span>财务申请栏</span>
        </div>
      </div>
    </div>
    <!-- <div class="list width1">
     
    <div class="list width2" style="border-bottom: 1px solid #eee">

    </div>
    <div class="list width1">

 
    </div>
    <div class="list width2">

    </div>
    <div class="list width1">


    </div>
    <div class="list width2">

    </div> -->
    <div class="line"></div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    tap(index) {
      this.$router.push(index);
    },
    tap1(index, num) {
      this.$router.push({ path: index, query: { type: num } });
    },
  },
};
</script>
<style scoped>
span {
  margin-top: 5px;
  font-size: 14px;
}
.title {
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 18px;
  width: 100%;
  background: #4ac7d7;
  color: white;
}
.listone {
  width: 30%;
  margin: 20px 1%;
}
.list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.width1 {
  width: 94%;
  padding-left: 3%;
  padding-right: 3%;
}
.width2 {
  width: 86%;
  padding-left: 7%;
  padding-right: 7%;
}

.list img {
  width: 50px;
  height: 50px;
}
.listone {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 10px;
  font-size: 16px;
}
.listone span {
  font-size: 18px;
  margin-top: 8px;
}
.line {
  height: 60px;
}
</style>